package com.wlw.layoutmanager.adapters;

import com.wlw.layoutmanager.R;

import java.util.List;

public class BannerAdapter extends BaseAdapter<String> {
    public BannerAdapter(List<String> data) {
        this(R.layout.item_banner, data);
    }

    public BannerAdapter(int layoutResId, List<String> data) {
        super(layoutResId, data);
    }

    @Override
    public void onBindView(BaseViewHolder holder, String s, int position) {
        holder.setTextView(R.id.tv_news, s);
    }
}
